<!-- TODO 查看老师信息 -->
<script id="view-teacher-template" type="text/x-handlebars-template">
	<form class="form-horizontal form-editor form-editor-teacher">
		<input type="hidden" name="id" value="{{id}}">
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label">类型</label>
					<div class="col-sm-8">
						<div class="input-group">
							<label class="radio-inline c-radio"> 
								<input type="radio" name="type" value="全职" {{eq type '全职'}}/> 
								<span class="fa fa-check"></span> 全职
							</label> 
							<label class="radio-inline c-radio"> 
								<input type="radio" name="type" value="兼职" {{eq type '兼职'}}/> 
								<span class="fa fa-check"></span> 兼职
							</label>
						</div>
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label">职务</label>
					<div class="col-sm-8">
						<div class="input-group">
							<label class="radio-inline c-radio"> 
								<input type="radio" name="duty" value="托班" {{eq duty '托班'}}/> 
								<span class="fa fa-check"></span> 托班
							</label> 
							<label class="radio-inline c-radio"> 
								<input type="radio" name="duty" value="早教" {{eq duty '早教'}}/> 
								<span class="fa fa-check"></span> 早教
							</label>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label required" for="name">姓名</label>
					<div class="col-sm-8">
						<input name="name" id="name" type="text" class="form-control" required="required" value="{{name}}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label required" for="mobile">手机</label>
					<div class="col-sm-8">
						<input name="mobile" id="mobile" type="text" class="form-control" required="required" value="{{mobile}}">
					</div>
				</div>
			</div>
			<div class="col-sm-4">
				<div class="form-group">
					<label class="col-sm-4 control-label required" for="createDate">入职时间</label>
					<div class="col-sm-8">
						<div class="input-group date date-selector">
							<input name="createDate" id="createDate" type="text" class="form-control" value="{{createDate}}"> 
							<span class="input-group-addon">
								<span class="fa fa-calendar"></span>
							</span>
						</div>
					</div>
				</div>
			</div>
		</div>
		
		<div class="widget-footer editor-footer-sm">
			<button type="button" class="btn btn-danger btn-sm" data-toggle="tooltip" data-placement="top" title="取消" onclick="handlerCancel(this, 'editor-wrapper-open');" data-refresh-table="#table-teacher">
				<i class="glyphicon glyphicon-remove"></i>
			</button>
			<button type="button" class="btn btn-primary btn-sm" data-toggle="tooltip" data-placement="top" title="保存" onclick="handlerSubmit(this, '#editor-form-teacher', '.form-editor-teacher');" data-refresh-table="#table-teacher">
				<i class="glyphicon glyphicon-ok"></i>
			</button>
		</div>
	</form>
</script>